↳ Prolog
↳ PrologToPiTRSProof
ackerman_in(s(M), s(N), Res) → U2(M, N, Res, ackerman_in(s(M), N, Res1))
ackerman_in(s(M), 0, Res) → U1(M, Res, ackerman_in(M, s(0), Res))
ackerman_in(0, N, s(N)) → ackerman_out(0, N, s(N))
U1(M, Res, ackerman_out(M, s(0), Res)) → ackerman_out(s(M), 0, Res)
U2(M, N, Res, ackerman_out(s(M), N, Res1)) → U3(M, N, Res, ackerman_in(M, Res1, Res))
U3(M, N, Res, ackerman_out(M, Res1, Res)) → ackerman_out(s(M), s(N), Res)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
ackerman_in(s(M), s(N), Res) → U2(M, N, Res, ackerman_in(s(M), N, Res1))
ackerman_in(s(M), 0, Res) → U1(M, Res, ackerman_in(M, s(0), Res))
ackerman_in(0, N, s(N)) → ackerman_out(0, N, s(N))
U1(M, Res, ackerman_out(M, s(0), Res)) → ackerman_out(s(M), 0, Res)
U2(M, N, Res, ackerman_out(s(M), N, Res1)) → U3(M, N, Res, ackerman_in(M, Res1, Res))
U3(M, N, Res, ackerman_out(M, Res1, Res)) → ackerman_out(s(M), s(N), Res)
ACKERMAN_IN(s(M), s(N), Res) → U21(M, N, Res, ackerman_in(s(M), N, Res1))
ACKERMAN_IN(s(M), s(N), Res) → ACKERMAN_IN(s(M), N, Res1)
ACKERMAN_IN(s(M), 0, Res) → U11(M, Res, ackerman_in(M, s(0), Res))
ACKERMAN_IN(s(M), 0, Res) → ACKERMAN_IN(M, s(0), Res)
U21(M, N, Res, ackerman_out(s(M), N, Res1)) → U31(M, N, Res, ackerman_in(M, Res1, Res))
U21(M, N, Res, ackerman_out(s(M), N, Res1)) → ACKERMAN_IN(M, Res1, Res)
ackerman_in(s(M), s(N), Res) → U2(M, N, Res, ackerman_in(s(M), N, Res1))
ackerman_in(s(M), 0, Res) → U1(M, Res, ackerman_in(M, s(0), Res))
ackerman_in(0, N, s(N)) → ackerman_out(0, N, s(N))
U1(M, Res, ackerman_out(M, s(0), Res)) → ackerman_out(s(M), 0, Res)
U2(M, N, Res, ackerman_out(s(M), N, Res1)) → U3(M, N, Res, ackerman_in(M, Res1, Res))
U3(M, N, Res, ackerman_out(M, Res1, Res)) → ackerman_out(s(M), s(N), Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
ACKERMAN_IN(s(M), s(N), Res) → U21(M, N, Res, ackerman_in(s(M), N, Res1))
ACKERMAN_IN(s(M), s(N), Res) → ACKERMAN_IN(s(M), N, Res1)
ACKERMAN_IN(s(M), 0, Res) → U11(M, Res, ackerman_in(M, s(0), Res))
ACKERMAN_IN(s(M), 0, Res) → ACKERMAN_IN(M, s(0), Res)
U21(M, N, Res, ackerman_out(s(M), N, Res1)) → U31(M, N, Res, ackerman_in(M, Res1, Res))
U21(M, N, Res, ackerman_out(s(M), N, Res1)) → ACKERMAN_IN(M, Res1, Res)
ackerman_in(s(M), s(N), Res) → U2(M, N, Res, ackerman_in(s(M), N, Res1))
ackerman_in(s(M), 0, Res) → U1(M, Res, ackerman_in(M, s(0), Res))
ackerman_in(0, N, s(N)) → ackerman_out(0, N, s(N))
U1(M, Res, ackerman_out(M, s(0), Res)) → ackerman_out(s(M), 0, Res)
U2(M, N, Res, ackerman_out(s(M), N, Res1)) → U3(M, N, Res, ackerman_in(M, Res1, Res))
U3(M, N, Res, ackerman_out(M, Res1, Res)) → ackerman_out(s(M), s(N), Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
U21(M, N, Res, ackerman_out(s(M), N, Res1)) → ACKERMAN_IN(M, Res1, Res)
ACKERMAN_IN(s(M), s(N), Res) → ACKERMAN_IN(s(M), N, Res1)
ACKERMAN_IN(s(M), s(N), Res) → U21(M, N, Res, ackerman_in(s(M), N, Res1))
ACKERMAN_IN(s(M), 0, Res) → ACKERMAN_IN(M, s(0), Res)
ackerman_in(s(M), s(N), Res) → U2(M, N, Res, ackerman_in(s(M), N, Res1))
ackerman_in(s(M), 0, Res) → U1(M, Res, ackerman_in(M, s(0), Res))
ackerman_in(0, N, s(N)) → ackerman_out(0, N, s(N))
U1(M, Res, ackerman_out(M, s(0), Res)) → ackerman_out(s(M), 0, Res)
U2(M, N, Res, ackerman_out(s(M), N, Res1)) → U3(M, N, Res, ackerman_in(M, Res1, Res))
U3(M, N, Res, ackerman_out(M, Res1, Res)) → ackerman_out(s(M), s(N), Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
ACKERMAN_IN(s(M), s(N)) → ACKERMAN_IN(s(M), N)
U21(M, ackerman_out(Res1)) → ACKERMAN_IN(M, Res1)
ACKERMAN_IN(s(M), 0) → ACKERMAN_IN(M, s(0))
ACKERMAN_IN(s(M), s(N)) → U21(M, ackerman_in(s(M), N))
ackerman_in(s(M), s(N)) → U2(M, ackerman_in(s(M), N))
ackerman_in(s(M), 0) → U1(ackerman_in(M, s(0)))
ackerman_in(0, N) → ackerman_out(s(N))
U1(ackerman_out(Res)) → ackerman_out(Res)
U2(M, ackerman_out(Res1)) → U3(ackerman_in(M, Res1))
U3(ackerman_out(Res)) → ackerman_out(Res)
ackerman_in(x0, x1)
U1(x0)
U2(x0, x1)
U3(x0)
From the DPs we obtained the following set of size-change graphs: